<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>推广管理系统</title>
    <link rel="stylesheet" href="__PUBLIC__/admin/vendor/simple-line-icons/css/simple-line-icons.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/vendor/font-awesome/css/fontawesome-all.min.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/css/styles.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/css/index.css">
    <link rel="stylesheet" href="__PUBLIC__/admin/css/bootstrap.css">
    <script src="__PUBLIC__/admin/vendor/jquery/jquery.min.js"></script>
    <script src="__PUBLIC__/admin/vendor/popper.js/popper.min.js"></script>
    <script src="__PUBLIC__/admin/vendor/bootstrap/js/bootstrap.min.js"></script>
    <script src="__PUBLIC__/admin/vendor/chart.js/chart.min.js"></script>
    <script src="__PUBLIC__/admin/js/carbon.js"></script>
</head>
<body class="sidebar-fixed header-fixed" >
<div class="page-wrapper">
    <nav class="navbar page-header">
        <a href="#" class="btn btn-link sidebar-mobile-toggle d-md-none mr-auto">
            <i class="fa fa-bars"></i>
        </a>

        <a class="navbar-brand" href="#">
            <img src="__PUBLIC__/admin/imgs/logo.png" alt="logo">
        </a>

        <a href="#" class="btn btn-link sidebar-toggle d-md-down-none">
            <i class="fa fa-bars"></i>
        </a>
        <ul class="top-nav">
            <li class="active">
                <a href="{:U('/Home/Financial/customer')}">控制台</a>
            </li>
            <li>
                <a href="{:U('/Home/Agent/user')}">官网推（SEO)</a>
            </li>
            <li>
                <!-- <a href="#">软文推</a> -->
            </li>
            <li>
                <!-- <a href="#">百度问答</a> -->
            </li>
        </ul>
        <ul class="navbar-nav ml-auto">
            <li class="nav-item d-md-down-none">
                <a href="#">
                    <i class="fa fa-bell"></i>
                    <span class="badge badge-pill badge-danger">5</span>
                </a>
            </li>

            <li class="nav-item d-md-down-none">
                <a href="#">
                    <i class="fa fa-envelope-open"></i>
                    <span class="badge badge-pill badge-danger">5</span>
                </a>
            </li>

            <li class="nav-item dropdown">
                <a class="nav-link dropdown-toggle" href="#" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    <img src="{$_SESSION['userInfo']['logo']}" class="avatar avatar-sm" alt="logo">
                    <span class="small ml-1 d-md-down-none">{$_SESSION["userInfo"]['user_name']}</span>
                </a>

                <div class="dropdown-menu dropdown-menu-right">
                    <div class="dropdown-header">Account</div>

                    <!-- <a href="#" class="dropdown-item">
                        <i class="fa fa-user"></i> Profile
                    </a>

                    <a href="#" class="dropdown-item">
                        <i class="fa fa-envelope"></i> Messages
                    </a>

                    <div class="dropdown-header">Settings</div>

                    <a href="#" class="dropdown-item">
                        <i class="fa fa-bell"></i> Notifications
                    </a>

                    <a href="#" class="dropdown-item">
                        <i class="fa fa-wrench"></i> Settings
                    </a> -->
                     <a href="#" class="dropdown-item">
                        <i class="glyphicon glyphicon-usd"></i> {$_SESSION["userInfo"]['money']}
                    </a> 
                    <a href="{:U('Home/Login/Logout')}" class="dropdown-item">
                        <i class="fa fa-lock"></i> Logout
                    </a>
                </div>
            </li>
        </ul>
    </nav>

    <div class="main-container">
        <div class="sidebar">
            <nav class="sidebar-nav">
                <ul class="nav">
                    <li class="nav-item nav-dropdown">
                        <a href="#" class="nav-link nav-dropdown-toggle">
                            <i class="icon icon-target"></i> 财务管理 <i class="fa fa-caret-left"></i>
                        </a>

                        <ul class="nav-dropdown-items">
                            <li class="nav-item">
                                <a href="{:U('/Home/Financial/customer',array('type'=>1))}" class="nav-link">
                                    <i class="icon icon-target"></i> 充值纪录
                                </a>
                            </li>

                            <li class="nav-item">
                                <a href="{:U('/Home/Financial/customer',array('type'=>2))}" class="nav-link">
                                    <i class="icon icon-target"></i> 消费记录
                                </a>
                            </li>
                        </ul>
                    </li>
                </ul>
            </nav>
        </div>
